<?php

use yii\helpers\Html;
use common\models\articles\Articles;
    $tongzhi = Articles::find()->where(['category_id'=>18])->asArray()->limit(10)->all();
    $hangye = Articles::find()->where(['category_id'=>28])->asArray()->limit(10)->all();
    $xinwen = Articles::find()->where(['category_id'=>14])->asArray()->limit(10)->all();

/* @var $this yii\web\View */
/* @var $model common\models\meeting\Meetingenroll */
$controllerID = Yii::$app->controller->id;
$actionID = Yii::$app->controller->action->id;

$this->title = Yii::t('app', '添加报名');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', '添加报名'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
	<style>
		.form-group {
	    	margin-bottom: 15px;
	    }
	    .form-control {
		    display: block;
		    width: 100%;
		    height: 34px;
		    padding: 6px 12px;
		    font-size: 14px;
		    line-height: 1.42857143;
		    color: #555;
		    background-color: #fff;
		    background-image: none;
		    border: 1px solid #ccc;
		    border-radius: 4px;
		    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
		    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
		    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
		    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
		    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
		}
		.per_real_img {
		    position: absolute;
		    width: 218px;
		    height: 146px;
		    top: 1px;
		    left: 1px;
		    overflow: hidden;
		    cursor: pointer;
		}
		p {
		    font-size: 14px;
		    line-height: 24px;
		}
		.per_upload_con .rule {
		    color: #999999;
		    line-height: 22px;
		}
		p {
		    margin: 0 0 10px;
		}
		.btn-success {
		    color: #fff;
		    background-color: #5cb85c;
		    border-color: #4cae4c;
		}
		.btn {
		    display: inline-block;
		    padding: 6px 12px;
		    margin-bottom: 0;
		    font-size: 14px;
		    font-weight: normal;
		    line-height: 1.42857143;
		    text-align: center;
		    white-space: nowrap;
		    vertical-align: middle;
		    -ms-touch-action: manipulation;
		    touch-action: manipulation;
		    cursor: pointer;
		    -webkit-user-select: none;
		    -moz-user-select: none;
		    -ms-user-select: none;
		    user-select: none;
		    background-image: none;
		    border: 1px solid transparent;
		    border-radius: 4px;
		}
		h1 {
			font-size: 100%;
    		font-weight: 500;
    		margin-top: 20px;
    		margin-bottom: 10px;
		}
		.help-block {
		    display: block;
		    margin-top: 5px;
		    margin-bottom: 10px;
		    color: #737373;
		}
		.has-error .help-block, .has-error .control-label, .has-error .radio, .has-error .checkbox, .has-error .radio-inline, .has-error .checkbox-inline, .has-error.radio label, .has-error.checkbox label, .has-error.radio-inline label, .has-error.checkbox-inline label {
   			color: #a94442;
		}
	</style>


    <div class="content">
        <div class="w1200 clearFloat mb50">
            <h3 class="abouth3">当前位置：<a href="">首页</a> > <a href="<?= yii\helpers\Url::to([$parentinfo['type'], 'id'=>$parentinfo['id']]);?>"><?= $parentinfo['name'];?></a></h3>
            <div class="clearFloat">
                <div class="jjleft floatLeft">
                    <div class="clearFloat">
                        <h3 class="jjtitle"><?= $parentinfo['name'];?></h3>
                        <ul class="jjul">
                            <?php foreach($childcat as $t){ ?>
                            <li>
                                <a href="<?= yii\helpers\Url::to([$t['type'], 'id' => $currentinfo['id']]); ?>">
                                    <?php echo $t['name']; ?>
                                </a>
                            </li>
                            <?php } ?>
                        </ul>
                    </div>
                </div>
                <div class="jjmiddle floatLeft">
                    <div class="clearFloat">
                  
                        <div class="meetingenroll-create">

							    <h1 class="jjmh3"><?= Html::encode($this->title) ?></h1>

							    <?= $this->render('_form', [
							        'model' => $model,
							    ]) ?>

						</div>
                        
                    </div>
                </div>
                <img src="<?= yii\helpers\Url::to(['index/qrcode'])?>" />
                <div class="jjright floatRight">
                    <div class="clearFloat ppjs">
                        <h3 class="indexh3"><span>协会新闻</span></h3>
                        <ul class="divtoneul">
                            <?php foreach($xinwen as $vo){ ?>
                            <li>
                                <a href="<?= yii\helpers\Url::to(['list/newscontent','id' => $vo['id']]); ?>"><?= $vo['title']; ?>...</a>
                            </li>
                            <?php } ?>
                      </ul>
                    </div>
                    <div class="clearFloat mt15">
                        <h3 class="indexh3"><span>通知公告</span></h3>
                        <ul class="divtoneul">
                            <?php foreach($tongzhi as $vo){ ?>
                            <li>
                                <a href="<?= yii\helpers\Url::to(['list/newscontent','id' => $vo['id']]); ?>"><?= $vo['title']; ?>...</a>
                            </li>
                          <?php } ?>
                        </ul>
                    </div>
                    <div class="clearFloat mt15">
                        <h3 class="indexh3"><span>行业研究</span></h3>
                        <ul class="divtoneul">
                            <?php foreach($hangye as $vo){ ?>
                            <li>
                                <a href="<?= yii\helpers\Url::to(['list/newscontent','id' => $vo['id']]); ?>"><?= $vo['title']; ?>...</a>
                            </li>
                          <?php } ?>
                        </ul>
                    </div>

                </div>

            </div>
        </div>
    </div>

